package com.wish.housing.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;
import java.util.List;

import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 曹佳林 王泓翔-房源表 	！房态-杨子强
 * </p>
 *
 * @author gaoluwen
 * @since 2022-03-29
 */
@Getter
@Setter
@TableName("tb_house_info")
public class TbHouseInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    private Integer premisesId;

    //private Integer leaseType;

    private String buildingNo;

    private String unitNo;

    private String roomNo;

    private String flatName;

    private Integer room;

    private Integer hall;

    private Double proportion;

    private Integer floor;

    private Integer floorCount;

    private Integer decorate;

    /**
     * 支付方式-押 1 押一 2 押二 3 押三
     */
    private Integer paymentMortgage;

    /**
     * 支付方式-付 1 付一 2 付二 3 付三 4 付四 5 付五 6 付六
     */
    private Integer paymentPay;

    private Integer manager;

    private Integer type;

    private String introduce;

    private Integer status;

    private Integer publishStatus;

    @TableField(fill = FieldFill.INSERT)
    private String createTime;

    private String createBy;

    private Integer reserve1;

    private Integer reserve2;

    private String reserve3;

    private String reserve4;

    private String reserve5;

    private Integer deptId;

    /**
     * 删除标识。0:未删除，1：删除
     */
    private Boolean delFlg;

    private Date updateTime;

    private String publicFacility; //公共配套1,2
    @TableField(exist = false)
    private List<String> publicFacilitys; //公共配套list
    @TableField(exist = false)
    private String roomInfoprivate; //房间配套1,2
    @TableField(exist = false)
    private List<String> roomInfoprivates; //房间配套list
    @TableField(exist = false)
    private List<TbRoomInfo> roomInfoList; //房间集合
    @TableField(exist = false)
    private List<String> houseImages; //房子图片list
    @TableField(exist = false)
    private List<String> roomImages; //房间图片list
    @TableField(exist = false)
    private List<TbHouseStyle> houseStyles; //集中式房源

    @TableField(exist = false)
    private String premisesName;
}
